home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8531 < prev    next >
Encoding:
Text File  |  1996-08-05  |  756 b   |  31 lines

  1. Newsgroups: comp.lang.c++
  2. Path: nntp.coast.net!torn!info!body2872
  3. From: body2872@mach1.wlu.ca (robert body 9308 u)
  4. Subject: visual c++: #undef
  5. X-Newsreader: TIN [version 1.1 PL6]
  6. Message-ID: <DMsrJE.7GI@info.uucp>
  7. Nntp-Posting-Host: mach1.wlu.ca
  8. Sender: news@info.uucp (news management)
  9. Organization: Wilfrid Laurier University
  10. Date: Thu, 15 Feb 1996 03:11:37 GMT
  11.  
  12.  
  13. my #undefs cause Visual C++ (2.2) to give warnings, yet it fine in 
  14. Borland C++
  15.  
  16.  
  17. i use it inside the function with first 
  18. #define LA
  19. ..code
  20. #undef LA
  21.  
  22. or with #define and #undef between functions, and i always the warning 
  23. that 
  24. "unexpected characters following #undef; newline expected"
  25. but there are no unexpected characters there, just
  26. eg. #undef   ROWCOL(i)
  27.  
  28.  
  29. --
  30. body2872@mach1.wlu.ca
  31.